package com.web.dao;

import java.util.List;

import com.web.model.User;

public interface AbstractRepository {

    public void insert(User user);   
      
    public User findOne(String id);     

    public List<User> findAll();     
      
    public List<User> findByRegex(String regex);  

    public void removeOne(String id);     

    public void removeAll();     

    public void findAndModify(String id);     
}
